Configuring your dev environment to be able to use xdebug when you're working on Windows 10 (with WSL2) and Docker with VS Code can be (a bit) tricky.
This is a quick reminder of how I've done that.
- Install and configure xdebug in Docker
Configuring your dev environment to be able to use xdebug when you're working on Windows 10 (with WSL2) and Docker with VS Code can be (a bit) tricky.
This is a quick reminder of how I've done that.
package util | |
import ( | |
"errors" | |
"fmt" | |
"net" | |
) | |
// useful links: | |
// https://stackoverflow.com/questions/27410764/dial-with-a-specific-address-interface-golang |
## Pre-requisite: You have to know your last commit message from your deleted branch. | |
git reflog | |
# Search for message in the list | |
# a901eda HEAD@{18}: commit: <last commit message> | |
# Now you have two options, either checkout revision or HEAD | |
git checkout a901eda | |
# Or | |
git checkout HEAD@{18} |
English manual for the ZUOYA GMK67 Mechanical Keyboard. Made from the printed version (Original).
Ref: https://discord.com/channels/595317990191398933/941119649783894016/1040772933687201802
How to setup sessions stored in Cloudflare KV using the Remix createCloudflareKVSessionStorage
Sets up the server to include access to sessionStorage
and db
on every request. These can then be accessed anywhere else in the code base using `context.
AddOn:
chrome/userChrome.css
in your profile directory:if (!window.decodeBackStanza) { | |
window.decodeBackStanza = require("WAWap").decodeStanza; | |
window.encodeBackStanza = require("WAWap").encodeStanza; | |
} | |
require("WAWap").decodeStanza = async (e, t) => { | |
const result = await window.decodeBackStanza(e, t); |
package main | |
import ( | |
"context" | |
"fmt" | |
"io/ioutil" | |
"net" | |
"net/http" | |
) |
package br.com.zup.edu.app2.xxx.samples.aws.sqs; | |
import br.com.zup.edu.app2.xxx.samples.aws.sqs.model.Customer; | |
import br.com.zup.edu.app2.xxx.samples.aws.sqs.model.CustomerRepository; | |
import io.awspring.cloud.messaging.listener.SqsMessageDeletionPolicy; | |
import io.awspring.cloud.messaging.listener.annotation.SqsListener; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; | |
import org.springframework.messaging.handler.annotation.Header; |